package com.test.dao;

import com.test.domain.Account;

import java.util.List;

public interface AccountDao {

    //通过顾客手机号获取自己的账户列表
    List<Account> getAccountListByCustomerPhoneNumber(String customerPhoneNumber);

    //增加账户
    int insertAccount(Account account);

    //通过账户号删除账户
    void deleteAccountByAccountNumberAndCustomerPhoneNumber(String accountNumber,String customerPhoneNumber);

}
